package com.iwop.moto.dao;

import com.iwop.moto.model.FCashBackRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FCashBackRecordMapper {

    int deleteByPrimaryKey(@Param(value="sid")Integer sid);
 
    int insert(FCashBackRecord fCashBackRecord);
 
    FCashBackRecord selectByPrimaryKey(@Param(value="sid")Integer sid);
 
    int updateByPrimaryKey(FCashBackRecord fCashBackRecord);


    List<FCashBackRecord> selectByUserId(String userId);
}